import request from "@/network/request";

export function signup(studentReq) {
  return request.post("/api/v1/student/add",{
    birthday:studentReq.birthday,
    classes:studentReq.classes,
    education:studentReq.education,
    gender:studentReq.gender,
    hometown:studentReq.hometown,
    oldSchool:studentReq.oldSchool,
    phone:studentReq.phone,
    plan:studentReq.plan,
    programming:studentReq.programming,
    qq:studentReq.qq,
    realName:studentReq.realName,
    remarks:studentReq.remarks,
  });
}

export function getAllNew(){
  return request.get("/api/v1/student/list",{})
}